﻿<!--
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Library General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Library General Public License for more details.
// 
// You should have received a copy of the GNU Library General Public
// License along with this library; if not, write to the Free
// Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<Window x:Class="Yarr.YarrPad.InputDlg"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Input" Height="100" Width="320" 
    ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
    Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Label x:Name="labelPrompt" Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right">Prompt:</Label>
        <TextBox x:Name="inputBox" Grid.Row="0" Grid.Column="1" MaxLines="1" TabIndex="1" ToolTip="Name of function"></TextBox>
        <StackPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" 
                    Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Name="okButton" Click="okButton_Click" IsDefault="True" Height="25" Width="80" TabIndex="2">OK</Button>
            <Label Width="10"/>
            <Button Name="cancelButton" IsCancel="True" Height="25" Width="80" TabIndex="3">Cancel</Button>
        </StackPanel>

    </Grid>
</Window>
